package net.xuzhen97.distributed.transaction.course.service.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import net.xuzhen97.distributed.transaction.course.common.validator.IValidate;

import javax.validation.constraints.NotBlank;

@Data
public class OpenCourseCmd implements IValidate {
    @NotBlank
    @JsonIgnore
    private String opUserId;
    @NotBlank
    private String userId;
    @NotBlank
    private String courseId;
}
